package org.hxyjs.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.School;
import org.hxyjs.entity.School;
import org.hxyjs.entity.SchoolExample;

public interface SchoolMapper {
    long countByExample(SchoolExample example);

    int deleteByExample(SchoolExample example);

    int deleteByPrimaryKey(String sno);

    int insert(School record);

    int insertSelective(School record);

    String getMaxSno();

    List<School> getSchoolByPage(Map map);

    List<School> selectByExample(SchoolExample example);

    School selectByPrimaryKey(String sno);

    int updateByExampleSelective(@Param("record") School record, @Param("example") SchoolExample example);

    int updateByExample(@Param("record") School record, @Param("example") SchoolExample example);

    int updateByPrimaryKeySelective(School record);

    int updateByPrimaryKey(School record);
}